<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="PaintDotNetDataSet" targetNamespace="http://tempuri.org/PaintDotNetDataSet.xsd" xmlns:mstns="http://tempuri.org/PaintDotNetDataSet.xsd" xmlns="http://tempuri.org/PaintDotNetDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="PaintDotNetConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="PaintDotNetConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.PaintDotNetConnectionString.ConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SessionsTableAdapter" GeneratorDataComponentClassName="SessionsTableAdapter" Name="Sessions" UserDataComponentName="SessionsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PaintDotNetConnectionString (Web.config)" DbObjectName="dbo.Sessions" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [Sessions] WHERE (([idUser] = @Original_idUser))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_idUser" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="idUser" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [Sessions] ([idUser], [directory]) VALUES (@idUser, @directory)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@idUser" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="idUser" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@directory" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="directory" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        idUser, directory
FROM            Sessions</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [Sessions] SET [idUser] = @idUser, [directory] = @directory WHERE (([idUser] = @Original_idUser))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@idUser" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="idUser" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@directory" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="directory" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_idUser" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="idUser" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="idUser" DataSetColumn="idUser" />
              <Mapping SourceColumn="directory" DataSetColumn="directory" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PaintDotNetConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="True" GeneratorSourceName="DeleteAll" Modifier="Public" Name="DeleteAll" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy" UserSourceName="DeleteAll">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>DELETE FROM [Sessions]</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="PaintDotNetConnectionString (Web.config)" DbObjectName="dbo.Sessions" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByUser" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByUser" GeneratorSourceName="FillByUser" GetMethodModifier="Public" GetMethodName="GetDataByUser" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByUser" UserSourceName="FillByUser">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        idUser, directory
FROM            Sessions
WHERE        (idUser = @User)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="User" ColumnName="idUser" DataSourceName="[F:\PAINT.NETWEB\APP_DATA\PAINTDOTNET.MDF].dbo.Sessions" DataTypeServer="nchar(36)" DbType="String" Direction="Input" ParameterName="@User" Precision="0" ProviderType="NChar" Scale="0" Size="36" SourceColumn="idUser" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ErroresTableAdapter" GeneratorDataComponentClassName="ErroresTableAdapter" Name="Errores" UserDataComponentName="ErroresTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PaintDotNetConnectionString (Web.config)" DbObjectName="dbo.Errores" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [Errores] ([Hora]) VALUES (@Hora)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Hora" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Hora" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        Hora
FROM            Errores</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Hora" DataSetColumn="Hora" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="PaintDotNetDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="PaintDotNetDataSet" msprop:Generator_DataSetName="PaintDotNetDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Sessions" msprop:Generator_UserTableName="Sessions" msprop:Generator_RowDeletedName="SessionsRowDeleted" msprop:Generator_RowChangedName="SessionsRowChanged" msprop:Generator_RowClassName="SessionsRow" msprop:Generator_RowChangingName="SessionsRowChanging" msprop:Generator_RowEvArgName="SessionsRowChangeEvent" msprop:Generator_RowEvHandlerName="SessionsRowChangeEventHandler" msprop:Generator_TableClassName="SessionsDataTable" msprop:Generator_TableVarName="tableSessions" msprop:Generator_RowDeletingName="SessionsRowDeleting" msprop:Generator_TablePropName="Sessions">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idUser" msprop:Generator_UserColumnName="idUser" msprop:Generator_ColumnPropNameInRow="idUser" msprop:Generator_ColumnVarNameInTable="columnidUser" msprop:Generator_ColumnPropNameInTable="idUserColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="directory" msprop:Generator_UserColumnName="directory" msprop:Generator_ColumnPropNameInRow="directory" msprop:Generator_ColumnVarNameInTable="columndirectory" msprop:Generator_ColumnPropNameInTable="directoryColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Errores" msprop:Generator_UserTableName="Errores" msprop:Generator_RowDeletedName="ErroresRowDeleted" msprop:Generator_RowChangedName="ErroresRowChanged" msprop:Generator_RowClassName="ErroresRow" msprop:Generator_RowChangingName="ErroresRowChanging" msprop:Generator_RowEvArgName="ErroresRowChangeEvent" msprop:Generator_RowEvHandlerName="ErroresRowChangeEventHandler" msprop:Generator_TableClassName="ErroresDataTable" msprop:Generator_TableVarName="tableErrores" msprop:Generator_RowDeletingName="ErroresRowDeleting" msprop:Generator_TablePropName="Errores">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Hora" msprop:Generator_UserColumnName="Hora" msprop:Generator_ColumnVarNameInTable="columnHora" msprop:Generator_ColumnPropNameInRow="Hora" msprop:Generator_ColumnPropNameInTable="HoraColumn" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Sessions" />
      <xs:field xpath="mstns:idUser" />
    </xs:unique>
  </xs:element>
</xs:schema>